<?php /* Smarty version Smarty-3.0.8, created on 2011-07-08 16:58:34
         compiled from "./templates/tattoo\magazin.tpl" */ ?>
<?php /*%%SmartyHeaderCode:305124e17373ae79bd2-56888364%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'd21c29345ce07c4afd7205f7486e7e9e722e3b4a' => 
    array (
      0 => './templates/tattoo\\magazin.tpl',
      1 => 1310144204,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '305124e17373ae79bd2-56888364',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div class="page">
		<div class="sidebar_page">
			<!--Content start (.sidebar_page)-->
			<div class="content">
				<div id="articles">
					<div class="page_capt clearfix">
						<div class="fl_left">
							<h2>Magazin</h2>
							<h3>Svi tekstovi</h3>
						</div>
						<div class="fl_right filter_opt">
							<form id="post_filter_form" name="post_filter_form" action="" method="post">
								<label for="post_category">Kategorija</label>
								<select class="inp_select" id="post_category" name="post_category">
									<option value="">Svi tekstovi</option>
									<option value="">Sajmovi i dešavanja</option>
									<option value="">Opšti tekstovi</option>
									<option value="">Prodavnice</option>
								</select>
								<input class="inp_btn" id="post_filter_submit" name="post_filter_submit" type="submit" value="Prikaži" />
							</form>
						</div>
					</div>
					
					<div class="clearfix page_body">
                                            <?php  $_smarty_tpl->tpl_vars['mainPost'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('mainPosts')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['mainPost']->key => $_smarty_tpl->tpl_vars['mainPost']->value){
?>
						<div class="post clearfix">
							<a class="fl_left" href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=magazin_single"><img src="<?php echo $_smarty_tpl->tpl_vars['mainPost']->value['slika'];?>
" alt="Face Tattoo" /></a>
							<h2><a href="<?php echo $_smarty_tpl->getVariable('url')->value;?>
/?page=magazin_single&p=<?php echo $_smarty_tpl->tpl_vars['mainPost']->value['id'];?>
"><?php echo $_smarty_tpl->tpl_vars['mainPost']->value['naslov'];?>
</a></h2>
							<p class="abstract"><?php echo $_smarty_tpl->tpl_vars['mainPost']->value['tekst'];?>
...</p>
							<p class="autor"><?php echo $_smarty_tpl->tpl_vars['mainPost']->value['datum'];?>
. <?php echo $_smarty_tpl->tpl_vars['mainPost']->value['username'];?>
</p>
						</div>
                                            <?php }} ?>            
						
						
						<div class="gal_nav">
							<?php echo $_smarty_tpl->getVariable('paginatorMainPosts')->value;?>

						</div>
						
					</div><!--end of .page_body-->
				</div>
				
				<!-- Page bottom blocks -->
				<div class="cols3spanL" id="botom_boxes">
					<div class="col"><?php $_template = new Smarty_Internal_Template("bottom_banners.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate(); $_template->rendered_content = null;?><?php unset($_template);?></div>
					<div class="col"><?php $_template = new Smarty_Internal_Template("chat.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate(); $_template->rendered_content = null;?><?php unset($_template);?></div>
				</div>
				
			</div>
			<!--Content end (.sidebar_page)-->
			
			<div class="sidebar"><?php $_template = new Smarty_Internal_Template("sidebar_banners.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate(); $_template->rendered_content = null;?><?php unset($_template);?></div>
		</div>
	</div>